text/template/parse.item.line (field)
12 uses
text/template/parse (current package)
lex.go#L19: line int // The line number at the start of this item.
parse.go#L163: format = fmt.Sprintf("template: %s:%d: %s", t.ParseName, t.token[0].line, format)
parse.go#L194: if t.actionLine != 0 && t.actionLine != token.line {
parse.go#L367: t.actionLine = token.line
parse.go#L392: return t.breakControl(token.pos, token.line)
parse.go#L394: return t.continueControl(token.pos, token.line)
parse.go#L411: return t.newAction(token.pos, token.line, t.pipeline("command", itemRightDelim))
parse.go#L444: pipe = t.newPipeline(token.pos, token.line, nil)
parse.go#L591: return t.newElse(peek.pos, peek.line)
parse.go#L594: return t.newElse(token.pos, token.line)
parse.go#L622: return t.newTemplate(token.pos, token.line, name, pipe)
parse.go#L639: return t.newTemplate(token.pos, token.line, name, pipe)